package com.demo03_feed.client;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(name = "interaction-service")
public interface InteractionServiceClient {
    @GetMapping("/followers/{authorId}")
    List<Long> getFollowerIds(@PathVariable("authorId") Long authorId);
}